﻿using JetBrains.Annotations;
using Dyn.News.Models;
using Orchard.ContentManagement.Handlers;
using Orchard.Data;

namespace Dyn.News.Handlers {
    [UsedImplicitly]
    public class CategoryArchivesPartHandler : ContentHandler {
        public CategoryArchivesPartHandler(IRepository<CategoryArchivesPartRecord> repository) {
            Filters.Add(StorageFilter.For(repository));
        }
    }
}